package com.cq.hd.product.api.dto;

import com.cq.hd.common.pagination.PageDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class GoodsPageDto extends PageDto implements Serializable {

    @ApiModelProperty(value = "商户id")
    private Long merchantId;

    @ApiModelProperty(value = "商家商户id")
    private Long businessMerchantId;

    @ApiModelProperty(value = "商品标题")
    private String goodsName;

    @ApiModelProperty(value = "商品状态（1-待发布(草稿箱)，2-已下架(待发售)，3-已上架）")
    private Integer goodsState;

    @ApiModelProperty(value = "排序字段：1-最新，2-销量，3-最新下架")
    private Integer goodsSort;

    @ApiModelProperty(value = "排序规则：1-asc，2-desc")
    private Integer orderBy = 2;

}
